home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / mui / mui14-dv.lha / MUI / Developer / Autodocs / MUI_Area.doc < prev    next >
Encoding:
Text File  |  1993-10-28  |  20.0 KB  |  802 lines

  1. TABLE OF CONTENTS
  2.  
  3. Area.mui/Area.mui
  4. Area.mui/MUIA_ApplicationObject
  5. Area.mui/MUIA_Background
  6. Area.mui/MUIA_BottomEdge
  7. Area.mui/MUIA_ControlChar
  8. Area.mui/MUIA_Disabled
  9. Area.mui/MUIA_ExportID
  10. Area.mui/MUIA_FixHeight
  11. Area.mui/MUIA_FixHeightTxt
  12. Area.mui/MUIA_FixWidth
  13. Area.mui/MUIA_FixWidthTxt
  14. Area.mui/MUIA_Font
  15. Area.mui/MUIA_Frame
  16. Area.mui/MUIA_FramePhantomHoriz
  17. Area.mui/MUIA_FrameTitle
  18. Area.mui/MUIA_Height
  19. Area.mui/MUIA_HorizWeight
  20. Area.mui/MUIA_InnerBottom
  21. Area.mui/MUIA_InnerLeft
  22. Area.mui/MUIA_InnerRight
  23. Area.mui/MUIA_InnerTop
  24. Area.mui/MUIA_InputMode
  25. Area.mui/MUIA_LeftEdge
  26. Area.mui/MUIA_Pressed
  27. Area.mui/MUIA_RightEdge
  28. Area.mui/MUIA_Selected
  29. Area.mui/MUIA_ShowSelState
  30. Area.mui/MUIA_Timer
  31. Area.mui/MUIA_TopEdge
  32. Area.mui/MUIA_VertWeight
  33. Area.mui/MUIA_Weight
  34. Area.mui/MUIA_Width
  35. Area.mui/MUIA_Window
  36. Area.mui/MUIA_WindowObject
  37. Area.mui/Area.mui
  38.  
  39. Area class is a super class for every other MUI class
  40. except windows and applications. It holds information
  41. about an objects current position, size and weight
  42. and manages frames, fonts and backgrounds.
  43.  
  44. Additionally, area class handles the user input. By
  45. setting an objects MUIA_InputMode, you can make it
  46. behave like a button or like a toggle gadget. That's
  47. why MUI doesn't offer an extra button class. A button
  48. is simply a text object with a raised frame and a relverify
  49. input mode. Since especially group class is a subclass
  50. of area, you can create rather complex buttons consisting
  51. of many other display elements.
  52. Area.mui/MUIA_ApplicationObject
  53.  
  54.     NAME
  55.     MUIA_ApplicationObject -- [..G], Object *
  56.  
  57.     FUNCTION
  58.     You can obtain a pointer to the application object
  59.     that some gadget belongs to by using this attribute.
  60.     Useful mainly within callback hooks if you do not want
  61.     to deal with global variables.
  62.  
  63.     SEE ALSO
  64.     MUIA_WindowObject
  65. Area.mui/MUIA_Background
  66.  
  67.     NAME
  68.     MUIA_Background -- [IS.], LONG
  69.  
  70.     FUNCTION
  71.     Adjust the background for an object.
  72.  
  73.     Every MUI object has its own background setting.
  74.     The background is displayed "behind" the actual
  75.     object contents, e.g. behind a the text of a
  76.     text object or behind the image of an image object.
  77.  
  78.     This attribute takes the same values as MUIA_Image_Spec,
  79.     please refer to autodocs of image class for a complete
  80.     description.
  81.  
  82.     An object without a specific background setting will
  83.     inherit the pattern from its parent group. The default
  84.     background for a window and many other background
  85.     patterns are adjustable with the preferences program.
  86.  
  87.     Only a few MUII_xxxxxxx tags make sense as background.
  88.     Important are:
  89.  
  90.     MUII_ButtonBack:
  91.        You have to set this when you create a button gadget.
  92.        Thus, your button will be displayed in the users
  93.        preferred style.
  94.  
  95.     MUII_TextBack:
  96.        Set this when you create a text object with a TextFrame,
  97.        e.g. some kind of status line. Do *not* use MUII_TextBack
  98.        for simple text without frame (e.g. gadget labels).
  99.  
  100.     MUII_BACKGROUND
  101.     MUII_SHADOW
  102.     MUII_SHINE
  103.     MUII_FILL
  104.     MUII_SHADOWBACK
  105.     MUII_SHADOWFILL
  106.     MUII_SHADOWSHINE
  107.     MUII_FILLBACK
  108.     MUII_FILLSHINE
  109.     MUII_SHINEBACK
  110.     MUII_SHINEBACK2:
  111.        One of MUI's predefined pattern. These are not
  112.        configurable by the user and will always look the
  113.        same.
  114.  
  115.     Note: It is *important* that you test your programs with
  116.           a fancy pattern configuration. With the default
  117.           setting you won't notice any errors in your backgrounds.
  118. Area.mui/MUIA_BottomEdge
  119.  
  120.     NAME
  121.     MUIA_BottomEdge -- [..G], LONG
  122.  
  123.     FUNCTION
  124.     You can use this to read the current position and
  125.     dimension of an object, if you e.g. need it to pop
  126.     up some requester below.
  127.  
  128.     Of course, this attribute is only valid when the
  129.     parent window of the object is currently open.
  130.  
  131.     SEE ALSO
  132.     MUIA_TopEdge, MUIA_Width, MUIA_Height,
  133.     MUIA_RightEdge, MUIA_LeftEdge
  134. Area.mui/MUIA_ControlChar
  135.  
  136.     NAME
  137.     MUIA_ControlChar -- [I..], char
  138.  
  139.     FUNCTION
  140.     Pressing the control char will have the same effect
  141.     as pressing return if the object was active.
  142.     
  143.     This can be used to create old style key shortcuts.
  144.  
  145.     Note: Using an uppercase control char will force
  146.           the user to press shift.
  147.  
  148.     SEE ALSO
  149.     mui.h / KeyButton() macro
  150. Area.mui/MUIA_Disabled
  151.  
  152.     NAME
  153.     MUIA_Disabled -- [ISG], BOOL
  154.  
  155.     FUNCTION
  156.     Disable or enable a gadget. Setting this attribute
  157.     causes a gadget to become disabled, it gets a ghost
  158.     pattern and doesn't respond to user input any longer.
  159.  
  160.     Disabled gadgets cannot be activated with the TAB key.
  161.  
  162.     Using MUIA_Disable on a group of objects will disable
  163.     all objects within that group.
  164.  
  165.     EXAMPLE
  166.     /* we have a radio button gadget with three         */
  167.     /* entries, the third should enable a string gadget */
  168.     /* with additional parameters                       */
  169.  
  170.     DoMethod(radio, MUIM_Notify, MUIA_Radio_Active, 0,
  171.        string, 3, MUIM_Set, MUIA_Disabled, TRUE);
  172.  
  173.     DoMethod(radio, MUIM_Notify, MUIA_Radio_Active, 1,
  174.        string, 3, MUIM_Set, MUIA_Disabled, TRUE);
  175.  
  176.     DoMethod(radio, MUIM_Notify, MUIA_Radio_Active, 2,
  177.        string, 3, MUIM_Set, MUIA_Disabled, FALSE);
  178. Area.mui/MUIA_ExportID
  179.  
  180.     NAME
  181.     MUIA_ExportID -- [ISG], LONG
  182.  
  183.     FUNCTION
  184.     Objects with a non NULL MUIA_ExportID export their
  185.     contents during MUIM_Application_Save and import
  186.     them during MUIM_Application_Load.
  187.  
  188.     You have to use different ExportIDs for your objects!
  189.  
  190.     SEE ALSO
  191.     MUIM_Application_Save, MUIM_Application_Load
  192. Area.mui/MUIA_FixHeight
  193.  
  194.     NAME
  195.     MUIA_FixHeight -- [I..], LONG
  196.  
  197.     FUNCTION
  198.     Give your object a fixed pixel height. This tag is
  199.     absolutely not needed in a general MUI application
  200.     and only present for emergency situations. Please
  201.     think twice before using it!
  202.  
  203.     EXAMPLE
  204.     /* create an 8x8 pixel rectangle with FILLPEN */
  205.  
  206.     RectangleObject,
  207.        MUIA_FixWidth  , 8,
  208.        MUIA_FixHeight , 8,
  209.        MUIA_Background, MUII_FILL,
  210.        End;
  211.  
  212.     SEE ALSO
  213.     MUIA_FixWidth, MUIA_FixWidthTxt, MUIA_FixHeightTxt
  214. Area.mui/MUIA_FixHeightTxt
  215.  
  216.     NAME
  217.     MUIA_FixHeightTxt -- [I..], LONG
  218.  
  219.     FUNCTION
  220.     Give your object a fixed pixel height. The height
  221.     will match the height of the given string. This tag is
  222.     absolutely not needed in a general MUI application
  223.     and only present for emergency situations. Please
  224.     think twice before using it!
  225.  
  226.     EXAMPLE
  227.     /* create a fixed size rectangle with FILLPEN */
  228.  
  229.     RectangleObject,
  230.        MUIA_FixWidthTxt , "00:00:00",
  231.        MUIA_FixHeightTxt, "\n\n",
  232.        MUIA_Background  , MUII_FILL,
  233.        End;
  234.  
  235.     SEE ALSO
  236.     MUIA_FixHeight, MUIA_FixWidth, MUIA_FixWidthTxt
  237. Area.mui/MUIA_FixWidth
  238.  
  239.     NAME
  240.     MUIA_FixWidth -- [I..], LONG
  241.  
  242.     FUNCTION
  243.     Give your object a fixed pixel width. This tag is
  244.     absolutely not needed in a general MUI application
  245.     and only present for emergency situations. Please
  246.     think twice before using it!
  247.  
  248.     EXAMPLE
  249.     /* create an 8x8 pixel rectangle with FILLPEN */
  250.  
  251.     RectangleObject,
  252.        MUIA_FixWidth  , 8,
  253.        MUIA_FixHeight , 8,
  254.        MUIA_Background, MUII_FILL,
  255.        End;
  256.  
  257.     SEE ALSO
  258.     MUIA_FixHeight, MUIA_FixWidthTxt, MUIA_FixHeightTxt
  259. Area.mui/MUIA_FixWidthTxt
  260.  
  261.     NAME
  262.     MUIA_FixWidthTxt -- [I..], STRPTR
  263.  
  264.     FUNCTION
  265.     Give your object a fixed pixel width. The width
  266.     will match the width of the given string. This tag is
  267.     absolutely not needed in a general MUI application
  268.     and only present for emergency situations. Please
  269.     think twice before using it!
  270.  
  271.     EXAMPLE
  272.     /* create a fixed size rectangle with FILLPEN */
  273.  
  274.     RectangleObject,
  275.        MUIA_FixWidthTxt , "00:00:00",
  276.        MUIA_FixHeightTxt, "\n\n",
  277.        MUIA_Background  , MUII_FILL,
  278.        End;
  279.  
  280.     SEE ALSO
  281.     MUIA_FixHeight, MUIA_FixWidth, MUIA_FixHeightTxt
  282. Area.mui/MUIA_Font
  283.  
  284.     NAME
  285.     MUIA_Font -- [I.G], struct TextFont *
  286.  
  287.     SPECIAL INPUTS
  288.     MUIV_Font_Inherit
  289.     MUIV_Font_Normal
  290.     MUIV_Font_List
  291.     MUIV_Font_Tiny
  292.     MUIV_Font_Fixed
  293.     MUIV_Font_Title
  294.  
  295.     FUNCTION
  296.     Every MUI object can have its own font, just set it with
  297.     this tag. Objects without an explicit font setting will
  298.     inherit it from their parent group.
  299.  
  300.     You normally won't need to open a font yourself, just
  301.     use one of the predefined values to get a font from
  302.     the users preferences.
  303.  
  304.     EXAMPLE
  305.     /* since the text contains tabs,           */
  306.     /* use the fixed width font for displaying */
  307.  
  308.     msgread = FloattextObject,
  309.        MUIA_Font, MUIV_Font_Fixed,
  310.        ...,
  311.        End;
  312. Area.mui/MUIA_Frame
  313.  
  314.     NAME
  315.     MUIA_Frame -- [I..], LONG
  316.  
  317.     SPECIAL INPUTS
  318.     MUIV_Frame_None
  319.     MUIV_Frame_Button
  320.     MUIV_Frame_ImageButton
  321.     MUIV_Frame_Text
  322.     MUIV_Frame_String
  323.     MUIV_Frame_ReadList
  324.     MUIV_Frame_InputList
  325.     MUIV_Frame_Prop
  326.     MUIV_Frame_Gauge
  327.     MUIV_Frame_Group
  328.     MUIV_Frame_PopUp
  329.     MUIV_Frame_Virtual
  330.     MUIV_Frame_Count
  331.  
  332.     FUNCTION
  333.     Define a frame for the current object. Since area class
  334.     is a superclass for all elements in a window, you can
  335.     assign frames to every object you wish.
  336.  
  337.     You don't adjust the style of your frame directly,
  338.     instead you only specify a type:
  339.  
  340.     MUIV_Frame_Button
  341.        for standard buttons with text in it.
  342.  
  343.     MUIV_Frame_ImageButton
  344.        for small buttons with images, e.g. the arrows
  345.        of a scrollbar.
  346.  
  347.     MUIV_Frame_Text
  348.        for a text field, e.g. a status line display.
  349.  
  350.     MUIV_Frame_String
  351.        for a string gadget.
  352.  
  353.     MUIV_Frame_ReadList
  354.        for a read only list.
  355.  
  356.     MUIV_Frame_InputList
  357.        for a list that handles input (has a cursor).
  358.  
  359.     MUIV_Frame_Prop
  360.        for proportional gadgets.
  361.  
  362.     MUIV_Frame_Group
  363.        for groups.
  364.  
  365.     How the frame is going to look is adjustable via the
  366.     preferences program.
  367.  
  368.     Four spacing values belong to each frame that tell
  369.     MUI how many pixels should be left free between the
  370.     frame and its contents. These spacing values are also
  371.     user adjustable as long as you don't override them
  372.     with one of the MUIA_InnerXXXX tags.
  373.  
  374.     Note: The first object in a window (MUIA_Window_RootObject)
  375.           may *not* have a frame. If you need this you will have
  376.           to create a dummy group with just one child.
  377.  
  378.     EXAMPLE
  379.     strobj = StringObject,
  380.        MUIA_Frame, MUIV_Frame_String,
  381.        End;
  382.  
  383.     SEE ALSO
  384.     MUIA_InnerLeft, MUIA_InnerRight, MUIA_InnerTop,
  385.     MUIA_InnerBottom
  386. Area.mui/MUIA_FramePhantomHoriz
  387.  
  388.     NAME
  389.     MUIA_FramePhantomHoriz -- [I..], BOOL
  390.  
  391.     FUNCTION
  392.     Setting this to TRUE causes the specified frame to be
  393.     a horizontal phantom frame. The frame will not appear
  394.     but his vertical components (frame height, inner
  395.     top and inner bottom spacing) will be used to calculate
  396.     positions and dimensions (horizontal components are
  397.         treated as 0).
  398.  
  399.     This is extremely useful for a correct labeling of objects.
  400.     You would e.g. label a string gadget by using a text object
  401.     with a phantom string frame. Thus, the label text will
  402.     be always on the same vertical position as the string
  403.     gadget text, no matter what spacing values the user
  404.     configured.
  405.  
  406.     SEE ALSO
  407.     Label() macros in "mui.h".
  408. Area.mui/MUIA_FrameTitle
  409.  
  410.     NAME
  411.     MUIA_FrameTitle -- [I..], STRPTR
  412.  
  413.     FUNCTION
  414.     This tag identifies a text string that will be displayed
  415.     centered in the top line of a frame. This can become
  416.     handy if you want to name groups of objects.
  417.  
  418.     You may not use MUIA_FrameTitle without defining
  419.     a MUIA_Frame.
  420.  
  421.     EXAMPLE
  422.     VGroup,
  423.        MUIA_Frame     , MUIV_Frame_Group,
  424.        MUIA_FrameTitle, "Spacing",
  425.        ...
  426.  
  427.     SEE ALSO
  428.     MUIA_Frame
  429. Area.mui/MUIA_Height
  430.  
  431.     NAME
  432.     MUIA_Height -- [..G], LONG
  433.  
  434.     FUNCTION
  435.     You can use this to read the current position and
  436.     dimension of an object, if you e.g. need it to pop
  437.     up some requester below.
  438.  
  439.     Of course, this attribute is only valid when the
  440.     parent window of the object is currently open.
  441.  
  442.     SEE ALSO
  443.     MUIA_TopEdge, MUIA_Width, MUIA_LeftEdge,
  444.     MUIA_RightEdge, MUIA_BottomEdge
  445. Area.mui/MUIA_HorizWeight
  446.  
  447.     NAME
  448.     MUIA_HorizWeight -- [I..], LONG
  449.  
  450.     FUNCTION
  451.     Adjust the horizontal weight of an object. Usually
  452.     you can simply use MUIA_Weight instead of this tag
  453.     but in some two-dimensional groups it may become
  454.     handy to have different horizontal and vertical 
  455.     weights.
  456.  
  457.     SEE ALSO
  458.     MUIA_Weight
  459. Area.mui/MUIA_InnerBottom
  460.  
  461.     NAME
  462.     MUIA_InnerBottom -- [I..], LONG
  463.  
  464.     FUNCTION
  465.     Adjust the space between an object and its frame.
  466.     Usually you shouldn't use this tag since you will
  467.     override the users preferred default setting.
  468.  
  469.     SEE ALSO
  470.     MUIA_Frame
  471. Area.mui/MUIA_InnerLeft
  472.  
  473.     NAME
  474.     MUIA_InnerLeft -- [I..], LONG
  475.  
  476.     FUNCTION
  477.     Adjust the space between an object and its frame.
  478.     Usually you shouldn't use this tag since you will
  479.     override the users preferred default setting.
  480.  
  481.     SEE ALSO
  482.     MUIA_Frame
  483. Area.mui/MUIA_InnerRight
  484.  
  485.     NAME
  486.     MUIA_InnerRight -- [I..], LONG
  487.  
  488.     FUNCTION
  489.     Adjust the space between an object and its frame.
  490.     Usually you shouldn't use this tag since you will
  491.     override the users preferred default setting.
  492.  
  493.     SEE ALSO
  494.     MUIA_Frame
  495. Area.mui/MUIA_InnerTop
  496.  
  497.     NAME
  498.     MUIA_InnerTop -- [I..], LONG
  499.  
  500.     FUNCTION
  501.     Adjust the space between an object and its frame.
  502.     Usually you shouldn't use this tag since you will
  503.     override the users preferred default setting.
  504.  
  505.     SEE ALSO
  506.     MUIA_Frame
  507. Area.mui/MUIA_InputMode
  508.  
  509.     NAME
  510.     MUIA_InputMode -- [I..], LONG
  511.  
  512.     SPECIAL INPUTS
  513.     MUIV_InputMode_None
  514.     MUIV_InputMode_RelVerify
  515.     MUIV_InputMode_Immediate
  516.     MUIV_InputMode_Toggle
  517.  
  518.     FUNCTION
  519.     Adjust the input mode for an object.
  520.  
  521.     MUI has no distinct button class. Instead you can make
  522.     every object (even groups) behave like a button by
  523.     setting an input mode for them. Several input modes
  524.     area available:
  525.  
  526.     MUIV_InputMode_None:
  527.        No input, this is not a gadget.
  528.  
  529.     MUIV_InputMode_RelVerify:
  530.        For buttons and similar stuff.
  531.  
  532.     MUIV_InputMode_Immediate:
  533.        Used e.g. in a radio button object.
  534.  
  535.     MUIV_InputMode_ToggleSelect:
  536.        For things like checkmark gadgets.
  537.  
  538.     The input mode setting determines how a user action
  539.     will trigger the attributes MUIA_Selected, MUIA_Pressed
  540.     and MUIA_Timer. See their documentation for details.
  541.  
  542.     EXAMPLE
  543.     /* A traditional button, just a text object with */
  544.     /* a button frame and a relverify input mode:    */
  545.  
  546.     okbutton = TextObject,
  547.        MUIA_Frame        , MUIV_Frame_Button,
  548.        MUIA_InputMode    , MUIV_InputMode_RelVerify,
  549.        MUIA_Text_Contents, "OK",
  550.        ...
  551.  
  552.     SEE ALSO
  553.     MUIA_Selected, MUIA_Timer, MUIA_Pressed
  554. Area.mui/MUIA_LeftEdge
  555.  
  556.     NAME
  557.     MUIA_LeftEdge -- [..G], LONG
  558.  
  559.     FUNCTION
  560.     You can use this to read the current position and
  561.     dimension of an object, if you e.g. need it to pop
  562.     up some requester below.
  563.  
  564.     Of course, this attribute is only valid when the
  565.     parent window of the object is currently open.
  566.  
  567.     SEE ALSO
  568.     MUIA_TopEdge, MUIA_Width, MUIA_Height,
  569.     MUIA_RightEdge, MUIA_BottomEdge
  570. Area.mui/MUIA_Pressed
  571.  
  572.     NAME
  573.     MUIA_Pressed -- [..G], BOOL
  574.  
  575.     FUNCTION
  576.     Learn if a button is pressed (or released).
  577.     The MUIA_Pressed attribute of a gadget is triggered
  578.     by some user action, depending on the input mode:
  579.  
  580.     MUIV_InputMode_RelVerify:
  581.        - set when lmb is pressed.
  582.        - cleared when lmb is released and the mouse
  583.          is still over the gadget (otherwise it will
  584.          be cleared too, but without triggering a
  585.          notification event).
  586.  
  587.     MUIV_InputMode_Immediate:
  588.        - undefined, use MUIA_Selected for this.
  589.  
  590.     MUIV_InputMode_Toggle:
  591.        - undefined, use MUIA_Selected for this.
  592.  
  593.     Waiting for MUIA_Pressed getting FALSE is the usual
  594.     way to react on button gadgets.
  595.  
  596.     EXAMPLE
  597.     DoMethod(btcancel,MUIM_Notify,MUIA_Pressed,FALSE,
  598.        app,2,MUIM_Application_ReturnID,ID_CANCEL);
  599.  
  600.     SEE ALSO
  601.     MUIA_Selected, MUIA_Timer, MUIA_ShowSelState, MUIA_InputMode
  602. Area.mui/MUIA_RightEdge
  603.  
  604.     NAME
  605.     MUIA_RightEdge -- [..G], LONG
  606.  
  607.     FUNCTION
  608.     You can use this to read the current position and
  609.     dimension of an object, if you e.g. need it to pop
  610.     up some requester below.
  611.  
  612.     Of course, this attribute is only valid when the
  613.     parent window of the object is currently open.
  614.  
  615.     SEE ALSO
  616.     MUIA_TopEdge, MUIA_Width, MUIA_Height,
  617.     MUIA_LeftEdge, MUIA_BottomEdge
  618. Area.mui/MUIA_Selected
  619.  
  620.     NAME
  621.     MUIA_Selected -- [ISG], BOOL
  622.  
  623.     FUNCTION
  624.     Get and set the selected state of a gadget.
  625.     This attribute can be triggered by the user
  626.     clicking on the gadget (or using the keyboard),
  627.     depending on the input mode:
  628.  
  629.     MUIV_InputMode_RelVerify:
  630.        - set when lmb is pressed.
  631.        - cleared when lmb is released.
  632.        - cleared when the gadget is selected and the
  633.          mouse leaves the gadget box.
  634.        - set when the mouse reenters the gadget box.
  635.  
  636.     MUIV_InputMode_Immediate:
  637.        - set when lmb is pressed.
  638.  
  639.     MUIV_InputMode_Toggle:
  640.        - toggled when lmb is pressed.
  641.  
  642.     Of course you may set this attribute yourself, e.g.
  643.     to adjust the state of a checkmark gadget.
  644.  
  645.     A selected gadget will display its border reverse
  646.     and get the configured MUII_SelectedBack background.
  647.     This can be avoided using the MUIA_ShowSelState tag.
  648.  
  649.     SEE ALSO
  650.     MUIA_Pressed, MUIA_Timer, MUIA_ShowSelState, MUIA_InputMode
  651. Area.mui/MUIA_ShowSelState
  652.  
  653.     NAME
  654.     MUIA_ShowSelState -- [I..], BOOL
  655.  
  656.     FUNCTION
  657.     Normally a gadget will reverse its frame and
  658.     display the configured MUII_SelectetBack background
  659.     pattern in its selected state. For some objects
  660.     (e.g. checkmarks) this is not recommended and
  661.     can be supressed by setting MUIA_ShowSelState
  662.     to FALSE.
  663.  
  664.     SEE ALSO
  665.     MUIA_Selected
  666. Area.mui/MUIA_Timer
  667.  
  668.     NAME
  669.     MUIA_Timer -- [..G], LONG
  670.  
  671.     FUNCTION
  672.     MUIA_Timer gets triggered when a relverify button is 
  673.     pressed and (after a little delay) increases every 
  674.     INTUITICK as long as the mouse remains over the gadget.
  675.  
  676.     This makes it possible to have buttons repeatedly
  677.     cause some actions, just like the arrow gadgets of
  678.     a scrollbar.
  679.  
  680.     EXAMPLE
  681.     DoMethod(btmore,MUIM_Notify,MUIA_Timer,MUIV_EveryTime,
  682.        app,2,MUIM_Application_ReturnID,ID_MORE);
  683.  
  684.     DoMethod(btless,MUIM_Notify,MUIA_Timer,MUIV_EveryTime,
  685.        app,2,MUIM_Application_ReturnID,ID_LESS);
  686.  
  687.     SEE ALSO
  688.     MUIA_Pressed, MUIA_Selected
  689. Area.mui/MUIA_TopEdge
  690.  
  691.     NAME
  692.     MUIA_TopEdge -- [..G], LONG
  693.  
  694.     FUNCTION
  695.     You can use this to read the current position and
  696.     dimension of an object, if you e.g. need it to pop
  697.     up some requester below.
  698.  
  699.     Of course, this attribute is only valid when the
  700.     parent window of the object is currently open.
  701.  
  702.     SEE ALSO
  703.     MUIA_LeftEdge, MUIA_Width, MUIA_Height,
  704.     MUIA_RightEdge, MUIA_BottomEdge
  705. Area.mui/MUIA_VertWeight
  706.  
  707.     NAME
  708.     MUIA_VertWeight -- [I..], LONG
  709.  
  710.     FUNCTION
  711.     Adjust the vertical weight of an object. Usually
  712.     you can simply use MUIA_Weight instead of this tag
  713.     but in some two-dimensional groups it may become
  714.     handy to have different horizontal and vertical
  715.     weights.
  716.  
  717.     SEE ALSO
  718.     MUIA_Weight
  719. Area.mui/MUIA_Weight
  720.  
  721.     NAME
  722.     MUIA_Weight -- [I..], LONG
  723.  
  724.     FUNCTION
  725.     This tag is a shorthand for MUIA_HorizWeight and
  726.     MUIA_VertHeight, it sets both weights at once.
  727.  
  728.     The weight of an object determines how many room it
  729.     will get during the layout process. Imagine you have
  730.     a 100 pixel wide horizontal group with two string
  731.     gadgets. Usually, each gadget will get half of the
  732.     room and be 50 pixels wide. If you feel the left
  733.     gadget is more important and should be bigger,
  734.     you can give it a weight of 200 (and 100 for
  735.     the right gadget). Because the left gadget is
  736.     twice as "heavy" as the right gadget, it will
  737.     become twice as big (about 66 pixel) as the
  738.     right one (34 pixel).
  739.  
  740.     Of course giving weights only makes sense if the
  741.     object is resizable. A MUIA_VertWeight for a
  742.     (always fixed height) string gadget is useless.
  743.  
  744.     An object with a weight of 0 will always stay
  745.     at its minimum size.
  746.  
  747.     By default, all objects have a weight of 100.
  748.  
  749.     EXAMPLE
  750.     HGroup,
  751.        StringGadget, MUIA_Weight,  50, End,
  752.        StringGadget, MUIA_Weight, 100, End,
  753.        StringGadget, MUIA_Weight, 200, End,
  754.        End;
  755.  
  756.     SEE ALSO
  757.     MUIA_HorizWeight, MUIA_VertWeight
  758. Area.mui/MUIA_Width
  759.  
  760.     NAME
  761.     MUIA_Width -- [..G], LONG
  762.  
  763.     FUNCTION
  764.     You can use this to read the current position and
  765.     dimension of an object, if you e.g. need it to pop
  766.     up some requester below.
  767.  
  768.     Of course, this attribute is only valid when the
  769.     parent window of the object is currently open.
  770.  
  771.     SEE ALSO
  772.     MUIA_TopEdge, MUIA_LeftEdge, MUIA_Height,
  773.     MUIA_RightEdge, MUIA_BottomEdge
  774. Area.mui/MUIA_Window
  775.  
  776.     NAME
  777.     MUIA_Window -- [..G], struct Window *
  778.  
  779.     FUNCTION
  780.     This attribute can be used to get a pointer to the
  781.     intuition window structure of the parent window 
  782.     ot the object. This pointer could e.g. be used
  783.     in calls to asl.library.
  784.  
  785.     The result is only valid when the window is opened.
  786.  
  787.     SEE ALSO
  788.     MUIA_Window_Window
  789. Area.mui/MUIA_WindowObject
  790.  
  791.     NAME
  792.     MUIA_WindowObject -- [..G], Object *
  793.  
  794.     FUNCTION
  795.     You can obtain a pointer to the window object
  796.     that some gadget belongs to by using this attribute.
  797.     Useful mainly within callback hooks if you do not want
  798.     to deal with global variables.
  799.  
  800.     SEE ALSO
  801.     MUIA_ApplicationObject
  802.